import java.rmi.RemoteException;

import javax.rmi.PortableRemoteObject;

public class ProdImpl extends PortableRemoteObject implements Product {
	private String description;
	private double price;
	private int productCode;

	public ProdImpl(int code, String description, double price) throws RemoteException {
		super();
		productCode = code;
		this.description = description;
		this.price = price;
	}

	public String getDescription() throws RemoteException {
		return description;
	}
	
	public double getPrice() throws RemoteException {
		return price;
	}
	
	public int getProductCode() throws RemoteException {
		return productCode;
	}
}
